<template>
    <div>
        <h3>新人专享</h3>
        <div class="listone">
            <ul class="box" v-for="(item) in list" :key="item.id">
                <img  :src="item.img" alt="">
                <h6 :h4="item.h4">{{ item.h4 }}</h6>
                <test :text="item.text">{{ item.text }}</test>
                <div class="foot">
                    <div class="left" :redtest="item.redtest">{{ item.redtest }}</div>
                    <div class="right" :test="item.test">{{ item.test }}</div>
                </div>
            </ul>
        </div>
    </div>
</template>

<script>
    export default {
        data() {
            return{
                list:[
                {id:"1",img:require("@/assets/1.png"), h4:"激光去黑眼圈",text:"沈阳美莱医疗美容",redtest:"￥1000",test:"1600"},
                {id:"2",img:require("@/assets/2.png"),h4:"激光去黑眼圈",text:"沈阳美莱医疗美容",redtest:"￥1000",test:"1600" },
                {id:"3",img:require("@/assets/3.png"),h4:"激光去黑眼圈",text:"沈阳美莱医疗美容",redtest:"￥1000",test:"1600" },
                {id:"4",img:require("@/assets/4.png"), h4:"激光去黑眼圈",text:"沈阳美莱医疗美容",redtest:"￥1000",test:"1600"},
                ]
            }
        }
    }
</script>

<style lang="scss" scoped>
h3{
    color: pink;
    text-align: center;
}
.listone{
    margin-left: 10px;
    display: flex;
    img{
        width: 80px;
        height: 100px;
    }
    h6{
        font-size: 15px;
    }
    test{
        font-size: 7px;
    }
    .foot{
        display: flex;
        font-size: 10px;
        .left{
            color: red;
        }
    }
    
}

</style>